<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="view/default/style/basic.css" />
<link rel="stylesheet" type="text/css" href="view/default/style/alipay.css" />
<title>在线商城</title>
</head>
<body>
{include file='default/public/header.html'}
<div id="sait">
    当前位置：<a href="./">首页</a>
  {foreach from=$FrontNav[0]->sait key=key item=value}
  &gt; <a href="?a=list&navid={$key}">{$value}</a>
  {/foreach} 
</div>

<div id="sidebar">
    <h2>当月热销</h2>
    <div style="margin:0 0 10px 0">
        <dl>
            <dt><a href="###"><img src="view/default/images/pro_list_demo_small.jpg"></a></dt>
            <dd class="price">￥158.00</dd>         
            <dd class="title"><a href="###">春秋装韩版蕾丝打底长裤修身杏干连衣裙品质显瘦女裙子</a></dd>         
        </dl>
        <dl>
            <dt><a href="###"><img src="view/default/images/pro_list_demo_small.jpg"></a></dt>
            <dd class="price">￥158.00</dd>         
            <dd class="title"><a href="###">春秋装韩版蕾丝打底长裤修身杏干连衣裙品质显瘦女裙子</a></dd>         
        </dl>
        <dl>
            <dt><a href="###"><img src="view/default/images/pro_list_demo_small.jpg"></a></dt>
            <dd class="price">￥158.00</dd>         
            <dd class="title"><a href="###">春秋装韩版蕾丝打底长裤修身杏干连衣裙品质显瘦女裙子</a></dd>         
        </dl>
        <p><a href="###">查看更多</a></p>
    </div>
    <h2>浏览记录</h2>
    <div style="margin:0 0 10px 0">
        <dl>
            <dt><a href="###"><img src="view/default/images/pro_list_demo_small.jpg"></a></dt>
            <dd class="price">￥158.00</dd>         
            <dd class="title"><a href="###">春秋装韩版蕾丝打底长裤修身杏干连衣裙品质显瘦女裙子</a></dd>         
        </dl>
        <dl>
            <dt><a href="###"><img src="view/default/images/pro_list_demo_small.jpg"></a></dt>
            <dd class="price">￥158.00</dd>         
            <dd class="title"><a href="###">春秋装韩版蕾丝打底长裤修身杏干连衣裙品质显瘦女裙子</a></dd>         
        </dl>
        <dl>
            <dt><a href="###"><img src="view/default/images/pro_list_demo_small.jpg"></a></dt>
            <dd class="price">￥158.00</dd>         
            <dd class="title"><a href="###">春秋装韩版蕾丝打底长裤修身杏干连衣裙品质显瘦女裙子</a></dd>         
        </dl>
        <p><a href="###">清空</a></p>
    </div>
</div>
<div id="main">
    <h2>支付宝在线支付</h2>
    <div id="alipay">
        {if $oneOrder[0]->order_pay == '已付款' || $oneOrder[0]->order_delivery == '已配货' || $oneOrder[0]->order_delivery == '已发货' || $oneOrder[0]->order_state == '已取消'}    
            <span style="color:red">此订单已被锁定!</span><input type="button" onclick="history.go(-1);" value="返回订单"/>
        {else}
        <form method="post" action="alipay/alipayapi.php">
        <input type="hidden" name="WIDseller_email" value="781028081@qq.com" />
        <input type="hidden" name="WIDout_trade_no" value="{$oneOrder[0]->ordernum}" />
        <input type="hidden" name="WIDsubject" value="在线商城购物订单" />
        <input type="hidden" name="WIDprice" value="{$oneOrder[0]->price}" />
        <input type="hidden" name="WIDbody" value="{$oneOrder[0]->text}" />
            <dl>
                <dd>订 单 号：<a href="?a=member&m=order_details&id={$oneOrder[0]->id}" target="_blank">{$oneOrder[0]->ordernum}</a> <span style="color:red">[点击订单号查看订单详情]</span></dd>
                <dd>订单详情：{$oneOrder[0]->text}</dd>
                <dd>订单总金额：{$oneOrder[0]->price}元</dd>
                <dd><input type="submit" name="send" value="确认支付" onclick="return confirm('确认订单信息无误，进入支付宝页面？') ? true : false;"/></dd>
            </dl>
        </form>
        {/if}
    </div>
</div>
{include file='default/public/footer.html'}
</body>
</html>